﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace bomberbide
{
    public class acteur
    {
        private Texture2D _Texture;
        public Texture2D Texture
        {
            get { return _Texture; }
            set { _Texture = value; }
        }

        public Vector2 Position;
        
        public void Draw(camera Camera)
        {
            Camera.Draw(this.Texture, new Rectangle((int)this.Position.X, (int)this.Position.Y, 64, 64), Color.White);
        }

        public acteur()
        {
            this.Position = new Vector2(0, 0);
        }
    }
}
